package com.aaa.controller;

import com.aaa.commen.entity.Result;
import com.aaa.commen.query.OperateLogQuery;
import com.aaa.service.IOperateLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @PackageName: com.aaa.controller
 * @ClassName: OperateLogController
 * @Description:
 * @author: 王嘉威
 * @Date: 2021/3/2 16:00
 */
@RestController
@RequestMapping("/operateLog")
public class OperateLogController {

    @Autowired
    private IOperateLogService operateLogService;


    @PostMapping("listOperateLog")
    public Result listOperateLog(@RequestBody OperateLogQuery operateLogQuery){
        return operateLogService.queryOperateLogInfo(operateLogQuery);
    }
}
